﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WorkFlow_WFTaskSurrogate_TaskSurrogateEdit" Codebehind="TaskSurrogateEdit.aspx.cs" %>

<%@ Register Src="../Control/EmployeeSelect2.ascx" TagName="EmployeeSelect2" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>任务委托</title>
    <link href="../Styles/control.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../cal/calendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="t1" >
        <thead>
        <th>
              任务委托信息维护
          </th></thead></table>
         
         <table align="center"  width="100%"  border="0" cellpadding="5" cellspacing="0" class="tEdit">				
		<tr>
			
			<td class="title1">
                生效时间:</td>
			<td ><asp:TextBox ID="txtBeginTime" runat="server" CssClass="input2" onfocus="setday(this)"></asp:TextBox>
			<asp:RequiredFieldValidator ID="ReqFBeginTime" runat="server" ErrorMessage="*" ControlToValidate="txtBeginTime"></asp:RequiredFieldValidator> 
			</td>
			
			<td class="title1">
                终止时间:</td>
			<td  ><asp:TextBox ID="txtEndTime" runat="server"  CssClass="input2"  onfocus="setday(this)"></asp:TextBox>
			<asp:RequiredFieldValidator ID="ReqFEndTime" runat="server" ErrorMessage="*" ControlToValidate="txtEndTime"></asp:RequiredFieldValidator> 
			</td>

		</tr>
		<tr>		
            <td class="title1">创建时间:</td>
			<td><asp:TextBox ID="txtGranterTime" runat="server"  CssClass="input2"  onfocus="setday(this)"></asp:TextBox>
			<asp:RequiredFieldValidator ID="ReqFGranterTime" runat="server" ErrorMessage="*" ControlToValidate="txtGranterTime"></asp:RequiredFieldValidator> 
			</td>

			<td class="title1">
                委托人:</td>
			<td><asp:TextBox ID="txtGranter" runat="server" CssClass="input2"  MaxLength="36"></asp:TextBox>
			<input type="hidden" runat="server" id="hiGranterID" />
			</td>
		</tr>
		<tr>
			<td  class="title1">所属单据:</td>
			<td>
                <asp:DropDownList ID="ddlBill" runat="server"  CssClass="input2" >
                </asp:DropDownList></td>

			<td class="title1">
                被委托人:</td>
			<td>
                <uc1:EmployeeSelect2 ID="EmployeeSelect2_1" runat="server" 
                    IsDisplaySelectResult="true"  ButtonText="选择" SelectMode="Single"/>
			</td>
		</tr>
	</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td> <div align="center">
    <asp:Button ID="btnOK" runat="server" Text="确定" OnClick="btnOK_Click"   class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" />
            
    <input type="submit" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" name="btnCancel" onclick="window.close();"    value="取 消" />
   </div></td>
  </tr>
</table>
    </form>
   
</body>
</html>
